html,
body {
  margin: 0;
  padding: 0;
}
html {
  min-height: 100vh;
  background: url("assets/page_bg.png");
}
body {
  background-color: #f7f8fa;
  overflow-y: scroll;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #e9e9e9;
}

::-webkit-scrollbar-thumb {
  background-color: #b8b8b8;
  border-radius: 100px;
}

div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
i,
ul,
li,
ol,
dl,
dd,
dt,
input,
textarea {
  box-sizing: border-box;
  font-family: "MicroSoftYaHei", arial, tahoma;
}
#app {
  // font-family: Avenir, Helvetica, Arial, sans-serif;
  font-family: "MicroSoftYaHei", arial, tahoma;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #333333;
  font-size: 14px;
  min-width: 1200px;
  cursor: default;
  // overflow: hidden;
}

[class^="icon-"],
[class*=" icon-"] {
  color: $border-color;
  display: inline-block;
  text-align: center;
}
a {
  text-decoration: none;
  color: #333333;
  &:hover,
  &:active,
  &:visited {
    color: #333333;
  }
}

.row_control {
  display: flex;
  align-items: center;
}
// 覆盖element-ui样式

.el-message-box {
  .el-button {
    width: auto;
  }
}
.el-button {
  width: 100%;
  height: 36px;
  padding: 10px 20px;
  &.el-button--primary {
    background-color: $main-color;
    border-color: $main-color;
    &:focus {
      background-color: $main-color;
      border-color: $main-color;
    }
    &:hover {
      background-color: #ffa254;
      border-color: #ffa254;
    }
    &:active {
      background-color: #e67414;
      border-color: #e67414;
    }
    &.is-disabled {
      background-color: $border-color;
      border-color: $border-color;
      &:hover {
        background-color: $border-color;
        border-color: $border-color;
      }
    }
  }
}
.el-select {
  width: 100%;
}
.el-input {
  .el-input__prefix {
    font-size: 20px;
    margin-top: 4px;
  }
  .el-input__inner {
    height: 36px;
    line-height: 36px;
    &:focus {
      border-color: $main-color;
    }
  }
}
.el-form-item {
  margin-bottom: 0;
}
.el-checkbox {
  .el-checkbox__input {
    .checkbox__inner {
      border-color: $main-color;
    }
    &.is-focus {
      .el-checkbox__inner {
        border-color: $main-color;
      }
    }
    &.is-checked {
      .el-checkbox__inner {
        background-color: $main-color;
        border-color: $main-color;
      }
    }
  }
  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: $main-color;
  }
}
.el-radio {
  margin-top: 4px;
  &.is-checked {
    .el-radio__inner {
      background-color: $main-color;
      border-color: $main-color;
    }
    .el-radio__label {
      color: $main-color;
      border-color: $main-color;
    }
  }
}
.el-table {
  td,
  th {
    padding: 4px 0;
    height: 48px;
  }
}
.el-textarea {
  .el-textarea__inner {
    height: 100%;
    resize: none;
    &:focus {
      border-color: $main-color;
    }
  }
}

.main_width {
  width: 1190px;
  margin: 0 auto;
}

.adm_button {
  height: 36px !important;
}
.adm_input {
  height: 36px !important;
}

.adm_select {
  height: 36px !important;
}
.adm_datetime_picker {
  height: 36px !important;
}

// 友盟
#cnzz_stat_icon_1280464743 {
  position: fixed;
  top: -100px;
}
